package com.mbc.common.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.common.data.CountryDataList;
import com.mbc.common.entities.Country;
import com.mbc.common.entities.CountryRpt;


public interface CountryDAO {
	public void create(Country entity)throws SQLException;
	public void update(Country entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public Country find(long key)throws SQLException;
	public CountryDataList findCountry(Country cri) throws SQLException;
	public ArrayList<Country> findAll()throws SQLException;
    public Country findCountryByCode(Country entity) throws SQLException;
	ResultSet prepareCountryReport(CountryRpt info) throws SQLException;
}
